const GoodsItem = {
    template:`<li class="main-list-first">
            <a href="#">
                <div class="figure-img">
                    <img :src="img" alt="">
                </div>
                <h3 class="main-title">
                    {{name}}
                </h3>
                <p class="desc">{{name}}</p>
                <p class="price">
                    <span class="num">{{price}}</span>元<span>起</span>
                </p>
                <mark v-if="isHot">hot</mark>
                <mark v-else-if="isNew">new</mark>
            </a>
        </li>`,
    props:["img", "name", "id", "price", "isHot", "isNew"]
}